import { ref, computed } from 'vue'
import { pageData } from './data/pageData'

export const useContact = () => {
  const contact = ref(pageData.common.contact)

  const email = computed(() => contact.value.email)
  const phone = computed(() => contact.value.phone)
  
  return {
    email,
    phone,
    contact
  }
}
